package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void AddAddress(AddressBook addressBook);

    List<AddressBook> GetAddressBookList(Long userId);

    AddressBook GetAddressBookDefault(Long userId);

    void UpdateAddressBook(AddressBook addressBook);

    void deleteAddressBook(Integer id);

    AddressBook getAddressBookById(Integer id);

    void setAddressBookDefault(Integer id);
}
